<div class="m-bg">
<h1>MySQL CURTIME() 函数</h1>
<h2>定义和用法</h2> <p>CURTIME() 返回当前的时间。</p> <h3><b>语法</b></h3> <div class="code notranslate"><pre><code class="language-sql"><div> CURTIME()</div></code></pre></div> <h3>实例</h3> <p>下面是 SELECT 语句：</p> <div class="code notranslate"><pre><code class="language-sql"><div> SELECT NOW(),CURDATE(),CURTIME()</div></code></pre></div> <p>结果如下所示：</p> <table class="reference notranslate">
<tr>
<th align="left" width="34%">NOW()</th> <th align="left" width="33%">CURDATE()</th> <th align="left" width="33%">CURTIME()</th> </tr>
<tr>
<td align="left">2008-11-11 12:45:34</td> <td align="left">2008-11-11</td> <td align="left">12:45:34</td> </tr>
</table>
<div class="text-center padding-10 margin-t-5">
</div>
</div>